<?php
session_start();

if(!isset($_SESSION['uName']) and !isset($_SESSION['passWd'])){
$msg = "You must be logged in to gain entry!!";
header("location: index.php?poll=$msg");

}

?>